<?php echo form_open($this->curl . '/'. $this->uri->segment(2) . '/' . $this->uri->segment(3), 'id="create_form"')?>
<?php echo form_hidden('func', $this->uri->segment(2))?>
<?php echo form_hidden('parameter', $this->parameter)?>
<br />
<table class="nostyle" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td>
		<?php echo $this->validation->error_string; ?>
		<table class="nostyle forma" width="100%" border="0" cellpadding="3" cellspacing="0">
		<tbody>
		<tr>
			<th style="width: 180px;"><?php $this->load->view('_elements/obligatory');?><?php echo $this->settings_model->fields['name']?></th> 
			<td><div class="input_300"><?php echo form_input('name', $this->validation->name, 'class="input-text"')?></div></td>
		</tr>
		<tr>
			<th><?php $this->load->view('_elements/obligatory');?><?php echo $this->settings_model->fields['value']?></th> 
			<td><div class="input_300"><?php echo form_input('value', $this->validation->value, 'class="input-text" size="50"')?></div></td>
		</tr>
		<tr>
			<th><?php echo $this->settings_model->fields['uom']?></th> 
			<td><div class="input_300"><?php echo form_input('uom', $this->validation->uom, 'class="input-text" size="50"')?></div></td>
		</tr>		
		<tr>
			<th><?php echo $this->settings_model->fields['description']?></th>
			<td><div class="textarea_80"><?php echo form_textarea('description', $this->validation->description, 'class="input-text"')?></div></td>
		</tr>
		<tr>
			<td colspan="2"></td>
		</tr>
		<tr>
			<td></td>
			<td>
				<input name="edit"   type="submit" class="btn btn_save"   id="submit" value="<?php echo T_('Submit')?>" />
				<input name="reset"  type="reset"  class="btn btn_clear"  id="reset"  value="<?php echo T_('Reset')?>"  onclick="$('#create_form input[type=text]').val('');" />
				<input name="delete" type="button" class="btn btn_delete" id="delete" value="<?php echo T_('Delete')?>" onclick="if (confirm('<?php echo T_('Are you sure you want to delete this Parameter?')?>')) location='/admin/<?php echo $this->curl; ?>/delete/<?php echo $this->parameter?>';return false;" />
			</td>
		</tr>
		</tbody>
		</table>

	</td>
</tr>
</table>
<?php echo form_close()?>